package com.ruimei.mapper;

import com.ruimei.entitys.Notice;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public abstract interface NoticeMapper
{
  public abstract List<Notice> getSchoolNotice(@Param("noticeId") String noticeId);
  
  public abstract List<Notice> getClassNotice(@Param("teacherId") String teacherId, @Param("noticeId") String noticeId, @Param("classId") String classId);
  
  public abstract List<Notice> getPayNotice(@Param("teacherId") String teacherId, @Param("noticeId") String noticeId, @Param("classId") String classId);

  /**
   * 插入一条通知
   * @param notice
   * @return
   */
    int insertNotice(Notice notice);

  /**
   * 查询所有老师和家长集合id
   * @return
   */
  List<String> queryParents();

    List<Notice> querySchoolNotice(@Param("id") String id, @Param("type")String type);
}


/* Location:              E:\360MoveData\Users\admin\Desktop\teacher_wap-0.0.1-SNAPSHOT.jar!\BOOT-INF\classes\com\ruimei\mapper\NoticeMapper.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       0.7.1
 */